<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box {
            background-color: lightgray;
            font-size: 40px;
            line-height: 200px;
        }

        img {
            vertical-align: text-bottom;
        }

        .box2 {
            background-color: lightblue;
            display: inline-block;
            width: 300px;
            height: 300px;
            line-height: 30px;
            vertical-align: baseline;
        }
    </style>
</head>

<body>
    <div class="box">
        xxx
        <img width="300px" height='100px' src="./image.png" />
        <div class="box2"></div>
    </div>
</body>

</html>